<%--
  Created by IntelliJ IDEA.
  User: Mi
  Date: 2021/9/24
  Time: 19:19
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>导航栏</title>
    <link rel="stylesheet" href="/hire/css/common/mynav.css">
<%--    <link rel="icon" href="/hire/imgs/favicon.ico" type="image/x-icon"/>--%>
    <script src="/hire/plugins/jquery/jquery.min.js"></script>
</head>
<body>
<div class="myheader" id=myheader>
    <div class="inner">
        <!-- logo部分 -->
        <div class="logo">
            <a href="/hire/index"><img src="/hire/imgs/轻聘3.png" alt=""></a>
        </div>
        <!-- 标题部分 -->
        <div class="nav">
            <ul>
                <li style="padding-left: 20px;"><img src="/hire/imgs/add.png" style="width:20px;height: 20px;padding-top: 10px; padding-right: 5px"></li>
                <li><span style="color: #fff;display: inline-block;margin-top: 10px;">${address}</span></li>
                <li><a href="/hire/index">首页</a></li>
                <li><a href="/hire/job/recruitment/recruitment">职位</a></li>
                <li><a href="/hire/job/company/company">公司</a></li>
            </ul>
        </div>
        <!-- 信息部分 -->
        <c:if test="${null==employee}">
            <div class="info">
                <ul>
                    <li><a href="/hire/login">登录</a></li>
                </ul>
            </div>
        </c:if>
        <c:if test="${null!=employee}">
            <div class="info">
                <ul>
                    <li><img src="/hire/imgs/user/avatar/${employee.avatarImg}" alt=""></li>
                    <li class="drop">
                        <a href="#">${employee.name}</a>
                        <div class="dropdown">
                            <a href="/hire/user/employee_info">个人中心</a>
                            <a href="/hire/user/account_settings">账号设置</a>
                            <a href="/hire/user/mycollection">我的收藏</a>
                            <a href="javascript:exit()">退出登录</a>
                        </div>
                    </li>
                    <li><a href="#">消息</a></li>
                    <li><a href="javascript:viewResume()">简历</a></li>
                </ul>
            </div>
        </c:if>

    </div>
</div>
<script src="/hire/js/common/mynav.js"></script>
</body>
</html>
